

<table  class="search_table" width="100%">
	<tr>
		<td class="search">
			<form action="{:U($module_name.'/index')}" method="get">
			<input type="hidden" name="g" value="{$Think.GROUP_NAME}" />
			<input type="hidden" name="m" value="{$Think.MODULE_NAME}" />
			<input type="hidden" name="a" value="{$Think.ACTION_NAME}" />

			<input id="title" type="text" size="14" class="input-text" name="keyword" value="{$Think.get.keyword}" />
			<select name="searchtype">
			<if condition="$fields['title']"><option value="title" <eq name="searchtype" value='title'>selected="selected"</eq>>{:L('title')}</option></if>
			<option value="id" <eq name="searchtype" value='id'>selected="selected"</eq>>ID</option>
			</select>

			<input type="hidden" id="menuid" name="menuid" value="{$_GET['menuid']}"/>
			<input type="submit" value="{:L('chaxun')}"  class="button" />
			</form>
		</td>

	</tr>
</table>


<div class="table-list">
    <table width="100%" cellspacing="0">
		<thead>
            <tr>
			<th width="30">&nbsp;</th>
            <th width="40">ID</th>
			<th>{:L('title')}</th>
			<th width="60">{:L('username')}</th>
            </tr>
        </thead>
      	<tbody>
      		<volist name="list" id="vo" key="k">
      		<tr>
			<td  width="30" align="center"><input class="inputcheckbox " name="jgproid" value="{$vo['id']}" type="radio" ></td>
			<td align="center">{$vo['id']}</td>
      		<td>{$vo['title']}</td>
      		<td align="center">{$vo['username']}</td>
      		</tr>
      		</volist>
      	</tbody>
    </table>
    <input name="dosubmit" type="submit" value="1" class="hidden" id="dosubmit" onclick="selproid()">	
</div>
<div id="pages" class="page">{$page}</div>
<script>
function selproid(){
	var jgvalue=$("input[name='jgproid']:checked").val(); 
	artDialog.open.origin.document.getElementById('proid').value=jgvalue;
	//eval('window.parent.selproid2(2222)');
	//parent.$("#proid").val("333333")
	//window.opener.document.getElementById("proid").value="44";
	art.dialog.close();
}
</script>                                                                                                                                                                                                                                                                                                                                                                                                                                                